package cn.wolfcode.shopserverorder.service.impl;

import cn.wolfcode.order.service.IOrderProductService;
import cn.wolfcode.shopserverorder.mapper.OrderProductMapper;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class OrderProductServiceImpl implements IOrderProductService {
    @Autowired
    private OrderProductMapper orderProductMapper;

    @Override
    public List getGoods(Long orderId) {
        return orderProductMapper.selectByOrderId(orderId);
    }
}
